* APPENDIX F. DISPLACED BORDERS

** OPEN STATA 14 ***


use "POLITICAL EMANCIPATION -- POLAND DATA SET.dta", clear

global covariates "jewishpop"



* No Z Schools (Pinkas)


* Placebo -- All Towns

rdrobust zionschoolsno_any distance10km_east if type=="ville", covs($covariates) kernel(triangular) p(1) bwselect(mserd) all
rdrobust zionschoolsno_any distance20km_east if type=="ville", covs($covariates) kernel(triangular) p(1) bwselect(mserd) all
rdrobust zionschoolsno_any distance30km_east if type=="ville", covs($covariates) kernel(triangular) p(1) bwselect(mserd) all
rdrobust zionschoolsno_any distance40km_east if type=="ville", covs($covariates) kernel(triangular) p(1) bwselect(mserd) all
rdrobust zionschoolsno_any distance50km_east if type=="ville", covs($covariates) kernel(triangular) p(1) bwselect(mserd) all
rdrobust zionschoolsno_any distance75km_east if type=="ville", covs($covariates) kernel(triangular) p(1) bwselect(mserd) all
rdrobust zionschoolsno_any distance10km_west if type=="ville", covs($covariates) kernel(triangular) p(1) bwselect(mserd) all
rdrobust zionschoolsno_any distance20km_west if type=="ville", covs($covariates) kernel(triangular) p(1) bwselect(mserd) all
rdrobust zionschoolsno_any distance30km_west if type=="ville", covs($covariates) kernel(triangular) p(1) bwselect(mserd) all
rdrobust zionschoolsno_any distance40km_west if type=="ville", covs($covariates) kernel(triangular) p(1) bwselect(mserd) all
rdrobust zionschoolsno_any distance50km_west if type=="ville", covs($covariates) kernel(triangular) p(1) bwselect(mserd) all
rdrobust zionschoolsno_any distance75km_west if type=="ville", covs($covariates) kernel(triangular) p(1) bwselect(mserd) all



* Z Schools per 1,000 Jews (Pinkas)

* Placebo -- All Towns

rdrobust capzionschoolsno_any distance10km_east if type=="ville", kernel(triangular) p(1) bwselect(mserd) all
rdrobust capzionschoolsno_any distance20km_east if type=="ville", kernel(triangular) p(1) bwselect(mserd) all
rdrobust capzionschoolsno_any distance30km_east if type=="ville", kernel(triangular) p(1) bwselect(mserd) all
rdrobust capzionschoolsno_any distance40km_east if type=="ville", kernel(triangular) p(1) bwselect(mserd) all
rdrobust capzionschoolsno_any distance50km_east if type=="ville", kernel(triangular) p(1) bwselect(mserd) all
rdrobust capzionschoolsno_any distance75km_east if type=="ville", kernel(triangular) p(1) bwselect(mserd) all
rdrobust capzionschoolsno_any distance10km_west if type=="ville", kernel(triangular) p(1) bwselect(mserd) all
rdrobust capzionschoolsno_any distance20km_west if type=="ville", kernel(triangular) p(1) bwselect(mserd) all
rdrobust capzionschoolsno_any distance30km_west if type=="ville", kernel(triangular) p(1) bwselect(mserd) all
rdrobust capzionschoolsno_any distance40km_west if type=="ville", kernel(triangular) p(1) bwselect(mserd) all
rdrobust capzionschoolsno_any distance50km_west if type=="ville", kernel(triangular) p(1) bwselect(mserd) all
rdrobust capzionschoolsno_any distance75km_west if type=="ville", kernel(triangular) p(1) bwselect(mserd) all


* Number Tarbut + Mizrachi Schools (Census)

*Placebo 

rdrobust max_zschools distance10km_east, covs($covariates) kernel(triangular) p(1) bwselect(mserd) all
rdrobust max_zschools distance20km_east, covs($covariates) kernel(triangular) p(1) bwselect(mserd) all
rdrobust max_zschools distance30km_east, covs($covariates) kernel(triangular) p(1) bwselect(mserd) all
rdrobust max_zschools distance40km_east, covs($covariates) kernel(triangular) p(1) bwselect(mserd) all
rdrobust max_zschools distance50km_east, covs($covariates) kernel(triangular) p(1) bwselect(mserd) all
rdrobust max_zschools distance75km_east, covs($covariates) kernel(triangular) p(1) bwselect(mserd) all
rdrobust max_zschools distance10km_west, covs($covariates) kernel(triangular) p(1) bwselect(mserd) all
rdrobust max_zschools distance20km_west, covs($covariates) kernel(triangular) p(1) bwselect(mserd) all
rdrobust max_zschools distance30km_west, covs($covariates) kernel(triangular) p(1) bwselect(mserd) all
rdrobust max_zschools distance40km_west, covs($covariates) kernel(triangular) p(1) bwselect(mserd) all
rdrobust max_zschools distance50km_west, covs($covariates) kernel(triangular) p(1) bwselect(mserd) all
rdrobust max_zschools distance75km_west, covs($covariates) kernel(triangular) p(1) bwselect(mserd) all


* Tarbut + Mizrachi Schools per 1,000 Jews (Census)

*Placebo  

rdrobust capmax_zschools distance10km_east, kernel(triangular) p(1) bwselect(mserd) all
rdrobust capmax_zschools distance20km_east, kernel(triangular) p(1) bwselect(mserd) all
rdrobust capmax_zschools distance30km_east, kernel(triangular) p(1) bwselect(mserd) all
rdrobust capmax_zschools distance40km_east, kernel(triangular) p(1) bwselect(mserd) all
rdrobust capmax_zschools distance50km_east, kernel(triangular) p(1) bwselect(mserd) all
rdrobust capmax_zschools distance75km_east, kernel(triangular) p(1) bwselect(mserd) all
rdrobust capmax_zschools distance10km_west, kernel(triangular) p(1) bwselect(mserd) all
rdrobust capmax_zschools distance20km_west, kernel(triangular) p(1) bwselect(mserd) all
rdrobust capmax_zschools distance30km_west, kernel(triangular) p(1) bwselect(mserd) all
rdrobust capmax_zschools distance40km_west, kernel(triangular) p(1) bwselect(mserd) all
rdrobust capmax_zschools distance50km_west, kernel(triangular) p(1) bwselect(mserd) all
rdrobust capmax_zschools distance75km_west, kernel(triangular) p(1) bwselect(mserd) all


* Number Schools in Hebrew (all or some)

rdrobust max_somehebrew distance10km_east, covs($covariates) kernel(triangular) p(1) bwselect(mserd) all
rdrobust max_somehebrew distance20km_east, covs($covariates) kernel(triangular) p(1) bwselect(mserd) all
rdrobust max_somehebrew distance30km_east, covs($covariates) kernel(triangular) p(1) bwselect(mserd) all
rdrobust max_somehebrew distance40km_east, covs($covariates) kernel(triangular) p(1) bwselect(mserd) all
rdrobust max_somehebrew distance50km_east, covs($covariates) kernel(triangular) p(1) bwselect(mserd) all
rdrobust max_somehebrew distance75km_east, covs($covariates) kernel(triangular) p(1) bwselect(mserd) all
rdrobust max_somehebrew distance10km_west, covs($covariates) kernel(triangular) p(1) bwselect(mserd) all
rdrobust max_somehebrew distance20km_west, covs($covariates) kernel(triangular) p(1) bwselect(mserd) all
rdrobust max_somehebrew distance30km_west, covs($covariates) kernel(triangular) p(1) bwselect(mserd) all
rdrobust max_somehebrew distance40km_west, covs($covariates) kernel(triangular) p(1) bwselect(mserd) all
rdrobust max_somehebrew distance50km_west, covs($covariates) kernel(triangular) p(1) bwselect(mserd) all
rdrobust max_somehebrew distance75km_west, covs($covariates) kernel(triangular) p(1) bwselect(mserd) all


* Per Capita Schools in Hebrew

rdrobust cap_maxsomehebrew distance10km_east, covs($covariates) kernel(triangular) p(1) bwselect(mserd) all
rdrobust cap_maxsomehebrew distance20km_east, covs($covariates) kernel(triangular) p(1) bwselect(mserd) all
rdrobust cap_maxsomehebrew distance30km_east, covs($covariates) kernel(triangular) p(1) bwselect(mserd) all
rdrobust cap_maxsomehebrew distance40km_east, covs($covariates) kernel(triangular) p(1) bwselect(mserd) all
rdrobust cap_maxsomehebrew distance50km_east, covs($covariates) kernel(triangular) p(1) bwselect(mserd) all
rdrobust cap_maxsomehebrew distance75km_east, covs($covariates) kernel(triangular) p(1) bwselect(mserd) all
rdrobust cap_maxsomehebrew distance10km_west, covs($covariates) kernel(triangular) p(1) bwselect(mserd) all
rdrobust cap_maxsomehebrew distance20km_west, covs($covariates) kernel(triangular) p(1) bwselect(mserd) all
rdrobust cap_maxsomehebrew distance30km_west, covs($covariates) kernel(triangular) p(1) bwselect(mserd) all
rdrobust cap_maxsomehebrew distance40km_west, covs($covariates) kernel(triangular) p(1) bwselect(mserd) all
rdrobust cap_maxsomehebrew distance50km_west, covs($covariates) kernel(triangular) p(1) bwselect(mserd) all
rdrobust cap_maxsomehebrew distance75km_west, covs($covariates) kernel(triangular) p(1) bwselect(mserd) all


